package net.ericaro.neojavagen.classes ;
import net.ericaro.neojavagen.classes.EnumConstants;
import net.ericaro.neojavagen.classes.EnumBodyDeclarations ;

/**
* *<pre> EnumBody :
    {  EnumConstants?  ,?  EnumBodyDeclarations?  }
</pre>
*/
public class EnumBody   {

EnumConstants enumconstants;
boolean comma;
EnumBodyDeclarations enumbodydeclarations ;

public EnumBody( EnumConstants enumconstants, boolean comma, EnumBodyDeclarations enumbodydeclarations ){
	this.enumconstants = enumconstants; this.comma = comma; this.enumbodydeclarations = enumbodydeclarations ;
	}public EnumBody(  ){
 ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( "{\n" ).append(" ");
stringbuilder.append( "" ).append(" ");
if (this.enumconstants !=null ) stringbuilder.append( this.enumconstants ).append(" ");
stringbuilder.append( "" ).append(" ");
if (this.comma ) stringbuilder.append( "," ).append(" ");
stringbuilder.append( "" ).append(" ");
if (this.enumbodydeclarations !=null ) stringbuilder.append( this.enumbodydeclarations ).append(" ");
stringbuilder.append( "" ).append(" ");
stringbuilder.append( "}\n" ).append(" ") ;
	return stringbuilder.toString();
}

}
